package com.ruizhong.integratedmediawithoutc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruizhong.integratedmediawithoutc.entity.TProgramMaterial;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Set;

public interface TProgramMaterialService extends IService<TProgramMaterial> {
    void addItemInProgram(ArrayList<HashMap<String, Object>> items);

    List<TProgramMaterial> getMaterialIdsByProgramIds(Set<Integer> programIdsSet);

    List<TProgramMaterial> getMaterialIdsByProgramId(Integer pl_id);

    void deleteByProgramId(Integer pl_id);

    void deleteByFileName(String file_path);

    void deleteByProgramIds(List<Integer> programIds);
}
